package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房源估算附属表
 * </p>
 *
 * @author Feng
 * @since 2023-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_house_estimate_info")
public class RoomHouseEstimateInfo extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 测算表ID
     */
    private Long estimateId;

    /**
     * 勘测表格JSON
     */
    private String surveyJson;

    /**
     * 基准价表格JSON
     */
    private String basicPriceJson;

    /**
     * 装修估价表格JSON
     */
    private String decorationEvaluateJson;

    /**
     * 扣减因素JSON
     */
    private String deductionFactorsJson;

    /**
     * 预估价格系数JSON
     */
    private String factorJson;

    /**
     * 部门ID
     */
    private Long deptId;
}
